<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<!--{echo formatPageSeo()}-->
	<link rel="icon" href="{$_FANWE['site_root']}favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="./public/js/jquery.js"></script>
	<?php
		$default_js[] = './public/js/jquery.cookie.js';
                $default_js[] = './public/js/jquery.easing.js';
		$default_js[] = './public/js/jquery.lazyload.js';
                $default_js[] = './public/js/base.js';
	?>
	<script type="text/javascript" src="{script $default_js}"></script>
	<?php
		$current_css[] = './tpl/css/reset.css';
		$current_css[] = './tpl/css/base.css';
		$current_css[] = './tpl/css/globe.css';
		$current_css[] = './tpl/css/publishbox.css';
		$current_css[] = './tpl/css/lightbox.css';
		$current_css[] = './tpl/css/addfav.css';
		$current_css[] = './public/js/jqueryui/jquery.ui.css';
	?>
	<link rel="stylesheet" type="text/css" href="{css $current_css}" media="all"/>
	<!--{loop $css_list $css}-->
	<link rel="stylesheet" type="text/css" href="{css $css['url']}"{if !empty($css['media'])} media="{$css['media']}"{/if} />
	<!--{/loop}-->
	<script type="text/javascript">
		var SITE_PATH = '$_FANWE[site_root]';
		var SITE_URL = '$_FANWE[site_url]';
		var TPL_PATH = '{TPL_PATH}';
		var PUBLIC_PATH	 = '{PUBLIC_PATH}';
		var MODULE_NAME	 = '{MODULE_NAME}';
		var ACTION_NAME	 = '{ACTION_NAME}';
		var COOKIE_PRE = "$_FANWE['config']['cookie']['cookie_pre']";
			<!--{dynamic dynamicScript}-->
	</script>
	<!--{if isset($_FANWE['cache']['business']['taobao'])}-->
	<script src="http://a.tbcdn.cn/apps/top/x/sdk.js?appkey={$_FANWE['cache']['business']['taobao']['app_key']}"></script>
	<!--{/if}-->
<script type="text/javascript">
        jQuery(function(){
        $(window).scroll(function(){
            if($(window).scrollTop() > 39){
               $("#nav_bar").css({"position":"fixed"});
               $("#nav_bar").css({"width":"100%"});
               $("#nav_bar").css({"z-index":"9999"});
               $("#nav_bar").css({"top":"0"});
            }else{
                $("#nav_bar").css({"position":"relative"});
            }
            
        });
        });
        </script>
</head>
<body>
	<div id="head">
		<div id="info_bar">
			<div class="fm960">
				<div class="fl">
					<a href="{u index}"><img class="logo fl" src="{$_FANWE['site_root']}{$_FANWE['setting']['site_logo']}" /></a>
				</div>
				<!--{dynamic getUserInfo}-->
			</div>
		</div>
		<div id="nav_bar">
			<div class="fm960">
				<ul class="fl">
					<li class="f"><a href="{u index}"{if MODULE_NAME == 'Index'} class="c"{/if}>{lang page_index}</a></li>
					<?php
						$g_r_cate = $_FANWE['cache']['goods_category']['root'];
						$g_r_cate = &$_FANWE['cache']['goods_category']['all'][$g_r_cate];
					?>
					<li><a href="{u book/shopping}"{if MODULE_NAME == 'Book'} class="c"{/if}>{$g_r_cate['cate_name']}</a></li>
					<li><a href="{u album}"{if MODULE_NAME == 'Album'} class="c"{/if}>{lang common/album}</a></li>
					<li><a href="{u look/index}"{if MODULE_NAME == 'Look'} class="c"{/if}>{lang look}</a></li>
					<li><a href="{u dapei/index}"{if MODULE_NAME == 'Dapei'} class="c"{/if}>{lang dapei}</a></li>
					<li><a href="{u group/index}"{if MODULE_NAME == 'Group' || MODULE_NAME == 'Topic'} class="c"{/if}>{lang group}</a></li>
					<li><a href="{u daren/index}"{if MODULE_NAME == 'Daren'} class="c"{/if}>{lang daren}</a></li>
					<li><a href="{u shop}"{if MODULE_NAME == 'Shop'} class="c"{/if}>{lang common/nav_shop}</a></li>
					<li><a href="{u exchange}"{if MODULE_NAME == 'Exchange'} class="c"{/if}>{lang common/nav_exchange}</a></li>
                                        <li><a href="{u mailrss/index}"{if MODULE_NAME == 'MailRss'} class="c"{/if}>{lang common/mailrss}</a></li>
				</ul>
                            <div class="fast_share"><a href="javascript:;" onclick="$.Fast_Share();">分享</a></div>
                           
				<div class="fr top_search r5">
                                    
					<form action="{u search}" method="get">
						<input type="text" name="keyword" class="ts_txt" value="" tooltip="{lang search_share}"/>
						<input type="submit" value=" " class="ts_btn" />
					</form>
				</div>
				
			</div>
		</div>
	</div>
	<div style="margin:0 auto;width:960px">{advlayout name='头部广告位'}</div>
	<div id="body_wrap">